package com.cxy.class_adapter;

/**
 * @Author 会飞的企鹅
 * @Description 适配器
 * @Date 2024/11/7 15:42
 */
public class ClassAdapter extends TFCardImpl implements SDCard{

    @Override
    public String readSD() {
        System.out.println("Adapter read tf card");
        return readTF();
    }

    @Override
    public void writeSD(String msg) {
        System.out.println("Adapter write tf card");
        writeTF(msg);
    }
}
